package cn.inst.attend.dao;

import cn.inst.attend.domain.Attend;
import cn.inst.attend.domain.AttendExample;
import cn.inst.attend.vo.PageCondition;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AttendMapper {
    int countByExample(AttendExample example);

    int deleteByExample(AttendExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Attend record);

    int insertSelective(Attend record);

    List<Attend> selectByExample(AttendExample example);

    Attend selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Attend record, @Param("example") AttendExample example);

    int updateByExample(@Param("record") Attend record, @Param("example") AttendExample example);

    int updateByPrimaryKeySelective(Attend record);

    int updateByPrimaryKey(Attend record);


	List<Attend> selectByPageLimit(PageCondition pCondition);

	int countPage(PageCondition pCondition);
}